projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c9f941
)
Use null for clarity
author
Jeremy Bryant
<jb@jeremybryant.net>
Thu, 4 Apr 2024 10:18:57 +0000
(11:18 +0100)
committer
Justin Burkett
<justin@burkett.cc>
Tue, 9 Apr 2024 17:52:25 +0000
(13:52 -0400)
* which-key.el (which-key--show-evil-operator-keymap): Use null for
clarity of zero length.
which-key.el
patch
|
blob
|
history
diff --git
a/which-key.el
b/which-key.el
index 8c6d4236b1d9890f27f1857872808d91f7d9da92..0c38a1a1bc8a378aaa1045b909422f921464e232 100644
(file)
--- a/
which-key.el
+++ b/
which-key.el
@@
-2659,7
+2659,7
@@
KEYMAP is selected interactively by mode in
(let ((formatted-keys
(which-key--get-bindings
nil keymap #'which-key--evil-operator-filter)))
- (cond ((
= (length formatted-keys) 0
)
+ (cond ((
null formatted-keys
)
(message "which-key: Keymap empty"))
((listp which-key-side-window-location)
(setq which-key--last-try-2-loc